#ifndef __SIGN_EVENT_H__
#define __SIGN_EVENT_H__

#include "Expand/Events.h"

using namespace PocketSurvival;

namespace BedWars
{
    class BedWarsCore;

    class SignEvent : public ISignEvent
    {
    private:
        BedWarsCore *m_bedWarsCore;

    public:
        SignEvent(BedWarsCore * bedWarsCore);
        virtual bool playerTouchSign(std::shared_ptr<PlayerData> playerData, const Point3 &point) override;
        virtual bool playerEditSign(std::shared_ptr<PlayerData> playerData, SignTextData &signTextData) override;
    };

    inline SignEvent::SignEvent(BedWarsCore * bedWarsCore) : m_bedWarsCore(bedWarsCore) {}

} // namespace BedWars

#endif
